Skip to content

Enable Cloudflare Workers Observability in wrangler config#30

Merged
github-actions[bot] merged 1 commit into
masterfrom
claude/add-cloudflare-observability-GLdGg
May 19, 2026
Merged

Enable Cloudflare Workers Observability in wrangler config#30
github-actions[bot] merged 1 commit into
masterfrom
claude/add-cloudflare-observability-GLdGg

Conversation

@vtempest

Copy link
Copy Markdown
Collaborator

Summary

Enable Cloudflare Workers Observability features for the VSCode Cloud worker by configuring logging, tracing, and metrics collection in the wrangler configuration.

Key Changes

  • Added observability configuration block to wrangler.jsonc
  • Enabled observability with enabled: true
  • Set head_sampling_rate to 1 (100% of requests) to capture all traces during development
  • Added documentation comments explaining the observability feature and sampling rate configuration

Implementation Details

The observability configuration enables visibility into worker behavior through:

  • Logs, traces, and metrics that appear in the Cloudflare dashboard under Workers & Pages → your worker → Observability
  • Head sampling rate set to 100% to ensure comprehensive tracing for development purposes (can be adjusted to lower values like 0.1 for 10% sampling in production)

https://claude.ai/code/session_01F7FARTYU45jdXkMm1H72Vp

Enables observability in wrangler.jsonc so logs, traces, and metrics
are captured and visible in the Cloudflare dashboard under Workers &
Pages → vscode-cloud → Observability. Sampling rate set to 100%.

https://claude.ai/code/session_01F7FARTYU45jdXkMm1H72Vp
@vercel

vercel Bot commented May 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cccp-deployment Building Building Preview, Comment May 19, 2026 3:32pm
starter-docs Ready Ready Preview, Comment May 19, 2026 3:32pm

@github-actions github-actions Bot merged commit c3b17c8 into master May 19, 2026
3 of 7 checks passed
@vtempest vtempest deleted the claude/add-cloudflare-observability-GLdGg branch May 20, 2026 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants